package com.open.capacity.firebird.service;

import com.open.capacity.common.model.*;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface FireBirdService<T> {

    Result connectFireBird(DB db);

    Result testConnect(DB db);

    List<String> getTables(DB db);

    List<TableField> getTableFields(Map map);

    PageResult<AcheAndVolInfo> getAcheAndVolInfoList(Map map);

    PageResult<PhyExmInfo> getPhyExmInfoList(Map map);

    PageResult<RegisterInfo> getRegisterInfoList(Map map);

    PageResult<AdmInfo> getAdmInfoList(Map map);

    Result getUnivInfo();

    Result export(String data, String outPath,String tmplPath, String fileName, String tmplName, HttpServletResponse response);

    Result getGradeCount(Map map);

    Result setPhyExmConChart();

    Result setAdmissionPassChart();

    List<DocType> getDocTypeList();

    Result admissionQuery(Map map);
}
